<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/9/30
  Time: 15:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>非Ajax上传</title>
  </head>
  <body>
    <h1> 采用非Ajax上传，通过表单来提交</h1>
    <!-- 非ajax情况，大家注意： 1 method post 3 enctype  multipart/form-data -->
   <form method="post" action="uploadImg1/" enctype="multipart/form-data">
       <!-- 文件域 同时支持多文件上传 multiple 多文件 accept="image/jpeg" 支持jpg格式图片,选择图片过滤 ,name="myfile"  记得要和后端参数名一致-->
       请选择: <input type="file" name="myfile" multiple accept="image/jpeg">
       <input type="submit" value="上传">
   </form>
  </body>
</html>
